package com.ruoyi.lm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户提现记录对象 lm_userwithdraw
 * 
 * @author ruoyi
 * @date 2020-09-02
 */
public class LmUserwithdraw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;


    /** 好友名称 */
    @Excel(name = "好友名称")
    private String withdrawName;


    /** 邀请的用户购买套餐 */
    @Excel(name = "邀请的用户购买套餐")
    private String withdrawUser;

    /** 提成金额 */
    @Excel(name = "提成金额")
    private float withdrawSum;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setWithdrawUser(String withdrawUser) 
    {
        this.withdrawUser = withdrawUser;
    }

    public String getWithdrawUser() 
    {
        return withdrawUser;
    }
    public void setWithdrawSum(float withdrawSum)
    {
        this.withdrawSum = withdrawSum;
    }

    public float getWithdrawSum()
    {
        return withdrawSum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("withdrawUser", getWithdrawUser())
            .append("withdrawSum", getWithdrawSum())
            .append("createTime", getCreateTime())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getWithdrawName() {
        return withdrawName;
    }

    public void setWithdrawName(String withdrawName) {
        this.withdrawName = withdrawName;
    }
}
